entry: don't force zero Y coordinate for insertion cursor
authorCosimo Cecchi <cosimoc@gnome.org>
Sat, 18 Feb 2012 18:28:21 +0000 (19:28 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 18 Feb 2012 18:39:29 +0000 (19:39 +0100)
commit7e78d75e7ad1ebcbbbc8ad134e01176b4ab7dfe5
tree97a464c9e0b3f6c4a3646840c7fd838eeff7ed54
parent0a189935ada166132ae5378d412d304a7a67f721
entry: don't force zero Y coordinate for insertion cursor

Subclasses of GtkEntry could set a larger height request, so we need to
apply the same calculations to the insertion cursors than we do on the
PangoLayout to render it centered under all circumstances.
gtk/gtkentry.c